projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d54639
)
GCC4.6: Squash warning in cmd_pmc440.c
author
Marek Vasut
<
[email protected]
>
Fri, 21 Oct 2011 14:17:17 +0000
(14:17 +0000)
committer
Wolfgang Denk
<
[email protected]
>
Thu, 27 Oct 2011 21:54:02 +0000
(23:54 +0200)
cmd_pmc440.c: In function 'do_painit':
cmd_pmc440.c:371: warning: format '%08x' expects type 'unsigned int', but
argument 2 has type 'phys_size_t'
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Wolfgang Denk <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Cc: Mike Frysinger <
[email protected]
>
board/esd/pmc440/cmd_pmc440.c
patch
|
blob
|
history
diff --git
a/board/esd/pmc440/cmd_pmc440.c
b/board/esd/pmc440/cmd_pmc440.c
index 200d7ee30d3323aa9eb782a2b17a0b0dcdd90080..02028768f94e38dd15bf29575713359efd29e889 100644
(file)
--- a/
board/esd/pmc440/cmd_pmc440.c
+++ b/
board/esd/pmc440/cmd_pmc440.c
@@
-368,7
+368,7
@@
int do_painit(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
*/
param = base - (pram << 10);
printf("PARAM: @%08x\n", param);
- debug("memsize=0x%08x, base=0x%08x\n", gd->bd->bi_memsize, base);
+ debug("memsize=0x%08x, base=0x%08x\n",
(u32)
gd->bd->bi_memsize, base);
/* clear entire PA ram */
memset((void*)param, 0, (pram << 10));